<?php
$id=rand(1,6);
$image[1]='http://ganju.dachengjiaxiao.com/uploads/allimg/20170701/1498873871461586.jpg';
$image[2]='http://ganju.dachengjiaxiao.com/uploads/allimg/201605/16-134602_113.jpg';
$image[3]='http://ganju.dachengjiaxiao.com/uploads/allimg/201605/16-134648_394.jpg';
$image[4]='http://ganju.dachengjiaxiao.com/uploads/allimg/201605/16-134713_456.jpg';
$image[5]='http://ganju.dachengjiaxiao.com/uploads/allimg/201605/16-134735_622.jpg';
$image[6]='http://wx4.sinaimg.cn/mw690/006D2KSdly1fhxnv83recj30zf1hcqv6.jpg';
header("location:$image[$id]");
?>